import React, { Component } from 'react'

export default class Acomp extends Component {
  handleClick = () => {
    this.props.changeCount(1)
  }
  render () {
    return (
      <div>
        A
        <button onClick={this.handleClick}>点我,B+1</button>
      </div>
    )
  }
}
